#include "peer.h"


Peer::Peer()
{
    server = new Server();
    server->startServer();

    connect (server);
}
void Peer::incomingConnection(QTcpSocket *socket)
{
}

void Peer::outgoingConnection(const QString &addr, const QString &port)
{
}

void Peer::newPeer()
{
}

void Peer::dropPeer()
{
}

Peer::~Peer()
{
    stopServer();
}
